<template>
  <div>
    <el-row :gutter="10">
      <el-col :span="6">
        <el-card>
          <detail title="总销售额" count="￥ 125743">
            <template slot="charts">
              <span>
                周同比56.67% &nbsp;
                <svg
                  t="1684760424411"
                  class="icon"
                  viewBox="0 0 1024 1024"
                  version="1.1"
                  xmlns="http://www.w3.org/2000/svg"
                  p-id="9429"
                  width="16"
                  height="16"
                >
                  <path
                    d="M874.666667 149.333333v384L490.666667 149.333333z"
                    fill="#3F51B5"
                    p-id="9430"
                  ></path>
                  <path
                    d="M269.674667 874.304l-120.661334-120.661333 493.226667-493.205334 120.64 120.661334z"
                    fill="#3F51B5"
                    p-id="9431"
                  ></path>
                </svg>
                &nbsp; 日同比 &nbsp; 19.96% &nbsp;
                <svg
                  t="1684760521229"
                  class="icon"
                  viewBox="0 0 1024 1024"
                  version="1.1"
                  xmlns="http://www.w3.org/2000/svg"
                  p-id="13107"
                  width="16"
                  height="16"
                >
                  <path
                    d="M149.333333 874.666667V490.666667l384 384z"
                    fill="#3F51B5"
                    p-id="13108"
                  ></path>
                  <path
                    d="M754.24 148.181333l120.661333 120.661334-493.205333 493.226666-120.661333-120.682666z"
                    fill="#3F51B5"
                    p-id="13109"
                  ></path>
                </svg>
              </span>
            </template>
            <template slot="footer">
              <span>日销售额￥ 49991</span>
            </template>
          </detail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <detail title="访问量" count="93411">
            <template slot="charts">
              <lineCharts></lineCharts>
            </template>
            <template slot="footer">
              <span>日访问量 8117</span>
            </template>
          </detail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <detail title="支付笔数" count="93411">
            <template slot="charts">
              <barCharts></barCharts>
            </template>
            <template slot="footer">
              <span>转化率81%</span>
            </template>
          </detail>
        </el-card>
      </el-col>
      <el-col :span="6">
        <el-card>
          <detail title="运营活动效果" count="81%">
            <template slot="charts">
              <progressCharts></progressCharts>
            </template>
            <template slot="footer">
              <span>
                周同比56.67% &nbsp;
                <svg
                  t="1684760424411"
                  class="icon"
                  viewBox="0 0 1024 1024"
                  version="1.1"
                  xmlns="http://www.w3.org/2000/svg"
                  p-id="9429"
                  width="16"
                  height="16"
                >
                  <path
                    d="M874.666667 149.333333v384L490.666667 149.333333z"
                    fill="#3F51B5"
                    p-id="9430"
                  ></path>
                  <path
                    d="M269.674667 874.304l-120.661334-120.661333 493.226667-493.205334 120.64 120.661334z"
                    fill="#3F51B5"
                    p-id="9431"
                  ></path>
                </svg>
                &nbsp; 日同比 &nbsp; 19.96% &nbsp;
                <svg
                  t="1684760521229"
                  class="icon"
                  viewBox="0 0 1024 1024"
                  version="1.1"
                  xmlns="http://www.w3.org/2000/svg"
                  p-id="13107"
                  width="16"
                  height="16"
                >
                  <path
                    d="M149.333333 874.666667V490.666667l384 384z"
                    fill="#3F51B5"
                    p-id="13108"
                  ></path>
                  <path
                    d="M754.24 148.181333l120.661333 120.661334-493.205333 493.226666-120.661333-120.682666z"
                    fill="#3F51B5"
                    p-id="13109"
                  ></path>
                </svg>
              </span>
            </template>
          </detail>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import detail from "./detail";
import lineCharts from "./lineCharts";
import barCharts from "./barCharts";
import progressCharts from "./progressCharts";

export default {
  components: {
    detail,
    lineCharts,
    barCharts,
    progressCharts,
  },
};
</script>

<style></style>
